home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-02-25 | 1.4 KB | 27 lines | [TEXT/MMCC] |
- //------------------------------------------------------------------------------
- // File: config.cp
- // Date: 11/04/94
- // Author: Bretton Wade
- //
- // Description: this file contains the core configuration functions
- //
- //------------------------------------------------------------------------------
-
- #include "config.h"
-
- //------------------------------------------------------------------------------
- // setup configuration
- //------------------------------------------------------------------------------
- void Configure (void) // set up application parameters
- { // begin
- core_config **config = (core_config **) GetResource (CONFIG_RSRC, 128); // get the core configuration resource
- if ((*config)->reseedRandom) // if we should resead the random number generator
- GetDateTime ((ulong *) &qd.randSeed); // help the random number generator be a little more random
- if ((*config)->useTempMemory) // if we should use temporary memory for data
- { // begin
- } // end
- ReleaseResource (Handle (config)); // let go of the configuration data
- } // end
-
- //------------------------------------------------------------------------------
-